package com.quanyan.api;/**
 * Created by Administrator on 2016/5/5.
 */

import com.quanyan.entity.DoResultData;
import com.quanyan.entity.ParamStruct;
import org.apache.log4j.Logger;

/**
 * HeartBeatCommand
 * description:
 * 心跳命令
 * @author chuntu tuchun168@163.com
 * @date 2016/5/5 18:29
 */
public class HeartBeatCommand extends AbstractCommand{
    private static final Logger log=Logger.getLogger(AbstractCommand.class);
    public HeartBeatCommand(ParamStruct paramStruct) {
        super(paramStruct);
    }

    @Override
    protected DoResultData executeCommand() throws Exception {
        DoResultData doResultData=new DoResultData();
        doResultData.setCommand(paramStruct.getCommand());
        return doResultData;
    }
}
